
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    request.setCharacterEncoding("utf-8");
    String name=request.getParameter("name");
    String pwd=request.getParameter("pwd");
    String username=request.getParameter("username");
    String phone=request.getParameter("phone");
    String email=request.getParameter("email");
    String birthday=request.getParameter("birthday");

    int a=2;
%>

用户名:<%=username%><br>
密码：<%=pwd%><br>
姓名：<%=name%><br>
出生日期：<%=birthday%><br>
Email：<%=email%><br>
手机号码：<%=phone%><br>

a+b=<%
    int b=7;
    int c=a+b;
    out.print(c);
%>
</body>
</html>
